package com.nuoniu.sibanyun.entity.crm.call;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nuoniu.sibanyun.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 客户管理-坐席统计
 * </p>
 *
 * @author 白强
 * @since 2022-04-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("crm_call_agent_statistics")
@ApiModel(value="CrmCallAgentStatistics对象", description="客户管理-坐席统计")
public class CrmCallAgentStatistics extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "租户ID")
    @TableField("company_id")
    private Integer companyId;

    @ApiModelProperty(value = "公司名称")
    @TableField("company_name")
    private String companyName;

    @ApiModelProperty(value = "总数")
    @TableField("total_number")
    private Integer totalNumber;

    @ApiModelProperty(value = "新购数量（未生效）")
    @TableField("new_number")
    private Integer newNumber;

    @ApiModelProperty(value = "有效个数")
    @TableField("enable_number")
    private Integer enableNumber;

    @ApiModelProperty(value = "失效个数")
    @TableField("disable_number")
    private Integer disableNumber;

    @ApiModelProperty(value = "创建人id")
    @TableField("create_user_id")
    private Integer createUserId;

    @ApiModelProperty(value = "创建人姓名")
    @TableField("create_user_name")
    private String createUserName;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_date")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "是否需要校验")
    @TableField("is_need_check")
    private Boolean isNeedCheck;



}
